#ifndef WF_ZOOMIN_H
#define WF_ZOOMIN_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action triggers zoom increase.
 *
 */
class GUI_EXPORT WF_ZoomIn : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_ZoomIn(PF_Container& container,
                    PF_GraphicView& graphicView,
                    LX_Define::ZoomDirection direction = LX_Define::In,
                    LX_Define::Axis axis = LX_Define::Both,
					const PF_Vector& center = PF_Vector(false));
    ~WF_ZoomIn() {}

	static QAction* createGUIAction(LX_Define::ActionType type, QObject* /*parent*/);

    virtual void init(int status=0);
    virtual void trigger();

protected:
    LX_Define::ZoomDirection direction;
    LX_Define::Axis axis;
	PF_Vector center;
};

#endif
